Optimal. Leaf size=260 \[ -\frac{2 a^2}{3 c x^{3/2}}+\frac{(b c-a d)^2 \log \left (-\sqrt{2} \sqrt [4]{c} \sqrt [4]{d} \sqrt{x}+\sqrt{c}+\sqrt{d} x\right )}{2 \sqrt{2} c^{7/4} d^{5/4}}-\frac{(b c-a d)^2 \log \left (\sqrt{2} \sqrt [4]{c} \sqrt [4]{d} \sqrt{x}+\sqrt{c}+\sqrt{d} x\right )}{2 \sqrt{2} c^{7/4} d^{5/4}}+\frac{(b c-a d)^2 \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{d} \sqrt{x}}{\sqrt [4]{c}}\right )}{\sqrt{2} c^{7/4} d^{5/4}}-\frac{(b c-a d)^2 \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{d} \sqrt{x}}{\sqrt [4]{c}}+1\right )}{\sqrt{2} c^{7/4} d^{5/4}}+\frac{2 b^2 \sqrt{x}}{d} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.554797, antiderivative size = 260, normalized size of antiderivative = 1., number of steps used = 12, number of rules used = 9, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.375 \[ -\frac{2 a^2}{3 c x^{3/2}}+\frac{(b c-a d)^2 \log \left (-\sqrt{2} \sqrt [4]{c} \sqrt [4]{d} \sqrt{x}+\sqrt{c}+\sqrt{d} x\right )}{2 \sqrt{2} c^{7/4} d^{5/4}}-\frac{(b c-a d)^2 \log \left (\sqrt{2} \sqrt [4]{c} \sqrt [4]{d} \sqrt{x}+\sqrt{c}+\sqrt{d} x\right )}{2 \sqrt{2} c^{7/4} d^{5/4}}+\frac{(b c-a d)^2 \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{d} \sqrt{x}}{\sqrt [4]{c}}\right )}{\sqrt{2} c^{7/4} d^{5/4}}-\frac{(b c-a d)^2 \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{d} \sqrt{x}}{\sqrt [4]{c}}+1\right )}{\sqrt{2} c^{7/4} d^{5/4}}+\frac{2 b^2 \sqrt{x}}{d} \]
Antiderivative was successfully verified.
[In] Int[(a + b*x^2)^2/(x^(5/2)*(c + d*x^2)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 99.1226, size = 241, normalized size = 0.93 \[ - \frac{2 a^{2}}{3 c x^{\frac{3}{2}}} + \frac{2 b^{2} \sqrt{x}}{d} + \frac{\sqrt{2} \left (a d - b c\right )^{2} \log{\left (- \sqrt{2} \sqrt [4]{c} \sqrt [4]{d} \sqrt{x} + \sqrt{c} + \sqrt{d} x \right )}}{4 c^{\frac{7}{4}} d^{\frac{5}{4}}} - \frac{\sqrt{2} \left (a d - b c\right )^{2} \log{\left (\sqrt{2} \sqrt [4]{c} \sqrt [4]{d} \sqrt{x} + \sqrt{c} + \sqrt{d} x \right )}}{4 c^{\frac{7}{4}} d^{\frac{5}{4}}} + \frac{\sqrt{2} \left (a d - b c\right )^{2} \operatorname{atan}{\left (1 - \frac{\sqrt{2} \sqrt [4]{d} \sqrt{x}}{\sqrt [4]{c}} \right )}}{2 c^{\frac{7}{4}} d^{\frac{5}{4}}} - \frac{\sqrt{2} \left (a d - b c\right )^{2} \operatorname{atan}{\left (1 + \frac{\sqrt{2} \sqrt [4]{d} \sqrt{x}}{\sqrt [4]{c}} \right )}}{2 c^{\frac{7}{4}} d^{\frac{5}{4}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x**2+a)**2/x**(5/2)/(d*x**2+c),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.202227, size = 261, normalized size = 1. \[ \frac{-8 a^2 c^{3/4} d^{5/4}+3 \sqrt{2} x^{3/2} (b c-a d)^2 \log \left (-\sqrt{2} \sqrt [4]{c} \sqrt [4]{d} \sqrt{x}+\sqrt{c}+\sqrt{d} x\right )-3 \sqrt{2} x^{3/2} (b c-a d)^2 \log \left (\sqrt{2} \sqrt [4]{c} \sqrt [4]{d} \sqrt{x}+\sqrt{c}+\sqrt{d} x\right )+6 \sqrt{2} x^{3/2} (b c-a d)^2 \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{d} \sqrt{x}}{\sqrt [4]{c}}\right )-6 \sqrt{2} x^{3/2} (b c-a d)^2 \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{d} \sqrt{x}}{\sqrt [4]{c}}+1\right )+24 b^2 c^{7/4} \sqrt [4]{d} x^2}{12 c^{7/4} d^{5/4} x^{3/2}} \]
Antiderivative was successfully verified.
[In] Integrate[(a + b*x^2)^2/(x^(5/2)*(c + d*x^2)),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.018, size = 439, normalized size = 1.7 \[ 2\,{\frac{{b}^{2}\sqrt{x}}{d}}-{\frac{d\sqrt{2}{a}^{2}}{4\,{c}^{2}}\sqrt [4]{{\frac{c}{d}}}\ln \left ({1 \left ( x+\sqrt [4]{{\frac{c}{d}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{c}{d}}} \right ) \left ( x-\sqrt [4]{{\frac{c}{d}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{c}{d}}} \right ) ^{-1}} \right ) }+{\frac{\sqrt{2}ab}{2\,c}\sqrt [4]{{\frac{c}{d}}}\ln \left ({1 \left ( x+\sqrt [4]{{\frac{c}{d}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{c}{d}}} \right ) \left ( x-\sqrt [4]{{\frac{c}{d}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{c}{d}}} \right ) ^{-1}} \right ) }-{\frac{\sqrt{2}{b}^{2}}{4\,d}\sqrt [4]{{\frac{c}{d}}}\ln \left ({1 \left ( x+\sqrt [4]{{\frac{c}{d}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{c}{d}}} \right ) \left ( x-\sqrt [4]{{\frac{c}{d}}}\sqrt{x}\sqrt{2}+\sqrt{{\frac{c}{d}}} \right ) ^{-1}} \right ) }-{\frac{d\sqrt{2}{a}^{2}}{2\,{c}^{2}}\sqrt [4]{{\frac{c}{d}}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{c}{d}}}}}}+1 \right ) }+{\frac{\sqrt{2}ab}{c}\sqrt [4]{{\frac{c}{d}}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{c}{d}}}}}}+1 \right ) }-{\frac{\sqrt{2}{b}^{2}}{2\,d}\sqrt [4]{{\frac{c}{d}}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{c}{d}}}}}}+1 \right ) }-{\frac{d\sqrt{2}{a}^{2}}{2\,{c}^{2}}\sqrt [4]{{\frac{c}{d}}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{c}{d}}}}}}-1 \right ) }+{\frac{\sqrt{2}ab}{c}\sqrt [4]{{\frac{c}{d}}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{c}{d}}}}}}-1 \right ) }-{\frac{\sqrt{2}{b}^{2}}{2\,d}\sqrt [4]{{\frac{c}{d}}}\arctan \left ({\sqrt{2}\sqrt{x}{\frac{1}{\sqrt [4]{{\frac{c}{d}}}}}}-1 \right ) }-{\frac{2\,{a}^{2}}{3\,c}{x}^{-{\frac{3}{2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x^2+a)^2/x^(5/2)/(d*x^2+c),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^2/((d*x^2 + c)*x^(5/2)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.260379, size = 1368, normalized size = 5.26 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^2/((d*x^2 + c)*x^(5/2)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 174.05, size = 597, normalized size = 2.3 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x**2+a)**2/x**(5/2)/(d*x**2+c),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.234427, size = 464, normalized size = 1.78 \[ \frac{2 \, b^{2} \sqrt{x}}{d} - \frac{2 \, a^{2}}{3 \, c x^{\frac{3}{2}}} - \frac{\sqrt{2}{\left (\left (c d^{3}\right )^{\frac{1}{4}} b^{2} c^{2} - 2 \, \left (c d^{3}\right )^{\frac{1}{4}} a b c d + \left (c d^{3}\right )^{\frac{1}{4}} a^{2} d^{2}\right )} \arctan \left (\frac{\sqrt{2}{\left (\sqrt{2} \left (\frac{c}{d}\right )^{\frac{1}{4}} + 2 \, \sqrt{x}\right )}}{2 \, \left (\frac{c}{d}\right )^{\frac{1}{4}}}\right )}{2 \, c^{2} d^{2}} - \frac{\sqrt{2}{\left (\left (c d^{3}\right )^{\frac{1}{4}} b^{2} c^{2} - 2 \, \left (c d^{3}\right )^{\frac{1}{4}} a b c d + \left (c d^{3}\right )^{\frac{1}{4}} a^{2} d^{2}\right )} \arctan \left (-\frac{\sqrt{2}{\left (\sqrt{2} \left (\frac{c}{d}\right )^{\frac{1}{4}} - 2 \, \sqrt{x}\right )}}{2 \, \left (\frac{c}{d}\right )^{\frac{1}{4}}}\right )}{2 \, c^{2} d^{2}} - \frac{\sqrt{2}{\left (\left (c d^{3}\right )^{\frac{1}{4}} b^{2} c^{2} - 2 \, \left (c d^{3}\right )^{\frac{1}{4}} a b c d + \left (c d^{3}\right )^{\frac{1}{4}} a^{2} d^{2}\right )}{\rm ln}\left (\sqrt{2} \sqrt{x} \left (\frac{c}{d}\right )^{\frac{1}{4}} + x + \sqrt{\frac{c}{d}}\right )}{4 \, c^{2} d^{2}} + \frac{\sqrt{2}{\left (\left (c d^{3}\right )^{\frac{1}{4}} b^{2} c^{2} - 2 \, \left (c d^{3}\right )^{\frac{1}{4}} a b c d + \left (c d^{3}\right )^{\frac{1}{4}} a^{2} d^{2}\right )}{\rm ln}\left (-\sqrt{2} \sqrt{x} \left (\frac{c}{d}\right )^{\frac{1}{4}} + x + \sqrt{\frac{c}{d}}\right )}{4 \, c^{2} d^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^2/((d*x^2 + c)*x^(5/2)),x, algorithm="giac")
[Out]